package com.yeung.dao.mapper;

import com.yeung.beans.Employee;

//指定这是一个操作数据库的mapper, 将接口扫描装配到容器中
//@Mapper
public interface EmployeeMapper {
    public Employee getEmpById(Integer id);

//    @Delete("delete from department where id =#{id}")
//    public int deleteDepById(Integer id);

    public int insertEmp(Employee employee);

//    @Update("update department set departmentName=#{departmentName} where id=#{id}")
//    public int updateDept(Department department);
}
